<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    #bx_p{color: red}
    .c1{color: blue}
    /*分组选择器：将多个选择器合并成一组*/
    h1,#bx_p,.c1{background-color: yellow}

    /*属性选择器*/
    input[type='text']{color: red}
    input[type='password']{color: green}

    /*任意元素选择器
    border边框样式： 粗细 实线 颜色
    */
    *{border: 1px solid red}

  </style>
</head>
<body>
<input type="text">
<input type="password">
<h1>这是h1</h1>
<p id="bx_p">冰箱</p>
<p class="c1">洗衣机</p>
<div>香蕉</div>
<div class="c1">苹果</div>


</body>
</html>